/*
* @Author: Administrator
* @Date:   2018-01-12 16:13:37
* @Last Modified by:   Administrator
* @Last Modified time: 2018-01-27 14:51:31
*/
const px10 = '0.625rem'
const px12 = '0.75rem'
const px20 = '1.25rem'
const topBottomPadding = '0.625rem 0'

const style = {
  paper: {
    padding: px10,
    margin: '4rem 0 2.5rem',
  },
  topicDetail: {
    width: '100%',
    padding: px10,
  },
  topicAuthor: {
    width: '100%',
    padding: '0.625rem',
    position: 'fixed',
    display: 'flex',
    zIndex: 99,
    alignItems: 'center',
    justifyContent: 'space-between',
    background: '#fff',
    top: '3.125rem',
    left: 0,
  },
  avatar: {
    width: '2.5rem',
    height: '2.5rem',
    float: 'left',
  },
  avatarImg: {
    width: '100%',
    height: '100%',
    borderRadius: '50%',
    margin: 0,
  },
  author: {
    float: 'left',
    marginLeft: px10,
  },
  nickName: {
    height: px20,
    display: 'block',
    lineHeight: px20,
    fontSize: '0.875rem',
    color: '#333',
    fontWeight: '600',
  },
  createTime: {
    height: px20,
    display: 'block',
    lineHeight: px20,
    fontSize: px12,
    color: '#999',
  },
  topicTips: {
    overflow: 'hidden',
    position: 'relative',

  },
  tab: {
    position: 'absolute',
    height: px20,
    lineHeight: px20,
    top: '50%',
    right: px10,
    fontSize: px12,
    padding: '0 0.625rem',
    borderRadius: px10,
    border: '1px solid #ddd',
    color: '#999',
    marginTop: '-0.75rem',
  },
  itemMid: {
    width: '100%',
    overflow: 'hidden',
  },
  title: {
    width: '100%',
    lineHeight: '1.875rem',
    fontSize: '0.875rem',
    color: '#444',
    margin: topBottomPadding,
    fontWeight: '600',
    padding: '0 0.125rem',
  },
  content: {
    color: '#595959',
    lineHeight: '1.5625rem',
    textIndent: '2em',
    padding: topBottomPadding,
  },
  moreMenu: {
    float: 'none',
  },
  error: {
    width: '100%',
    height: '20rem',
    textAlign: 'center',
    lineHeight: '20rem',
    fontSize: '1rem',
    color: '#c80002',
    fontWeight: 'bold',
  },
}

export default style
